home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 1 / Meeting Pearls Vol 1 (1994).iso / installed_progs / text / faqs / x-faq.part2 < prev    next >
Encoding:
Internet Message Format  |  1994-05-05  |  43.8 KB

  1. Subject: comp.windows.x Frequently Asked Questions (FAQ) 2/6
  2. Newsgroups: comp.windows.x,news.answers,comp.answers
  3. From: dbl@ics.com (David B. Lewis)
  4. Date: 4 May 1994 12:44:36 GMT
  5.  
  6. Archive-name: x-faq/part2
  7. Last-modified: 1994/05/01
  8.  
  9. ----------------------------------------------------------------------
  10. Subject:  18)  How do I use another window manager with DEC's session manager?
  11.  
  12.     DEC's session manager will start dxwm up by default. To override this,
  13. add to your .Xdefaults file something like this line, naming the full pathname:
  14.     sm.windowManagerName:   /wherever/usr/bin/X11/your_favorite_wm
  15.  
  16. ----------------------------------------------------------------------
  17. Subject:  19)  How do I change the keyboard auto-repeat rate?
  18.  
  19.     You can turn auto-repeat on or off by using "xset r on|off". 
  20.  
  21.     The base X11 protocol, doesn't provide for varying the auto-repeat
  22. rate, which is a capability not supported by all systems.
  23.     Some pre-R6 servers may provide command-line flags to set the rate at
  24. start-up time. If you have control over server start-up (see the man pages
  25. for xinit and xdm), you can invoke the server with the chosen settings; for
  26. example, you can start the R5 Xsun sample server with the options "-ar1 350
  27. -ar2 30" to reduce the sensitivity of the keyboard.
  28.  
  29.     The R6 X Keyboard Extension provides a vendor-independent way to
  30. control repeat delay and rate.
  31.  
  32. ----------------------------------------------------------------------
  33. Subject:  20)  How do I remap the keys on my keyboard to produce a string?
  34.  
  35.     There is no method of arranging for a particular string to be produced
  36. when you press a particular key. The xmodmap client, which is useful for
  37. moving your CTRL and ESC keys to useful places, just rearranges keys and does
  38. not do "macro expansion."
  39.     Some (few) clients, including xterm and several X-based editors,
  40. accept a translation resource such as:
  41.     xterm*VT100.Translations: #override \
  42.         <Key>F1: string("setenv DISPLAY unix:0")
  43. which permits the shorthand F1 to be pressed to reset the display locally
  44. within an xterm; it takes effect for new xterm clients. To include control
  45. characters in the string, use \nnn, where nnn is the octal encoding of the
  46. control character you want to include.
  47.     Window managers, which could provide this facility, do not yet; nor
  48. has a special "remapper" client been made available.
  49.  
  50. ----------------------------------------------------------------------
  51. Subject:  21)! How do I make a screendump or print my application (including menus)?
  52.  
  53.     The xwd client in the X11 distributions can be used to select a window
  54. or the background. It produces an XWD-format file of the image of that
  55. window.  The file can be post-processed into something useful or printed with
  56. the xpr client and your local printing mechanism. To print a screendump
  57. including a menu or other object which has grabbed the pointer, you can use
  58. this command:
  59.         csh% sleep 10; xwd -root > output.xwd &
  60. and then spend 10 seconds or so setting up your screen; the entire current
  61. display will be saved into the file output.xwd. Note that xwd also has an
  62. undocumented (before R5) -id flag for specifying the window id on the
  63. command-line. [There are also unofficial patches on ftp.x.org to xwd for
  64. specifying the delay and the portion of the screen to capture.]
  65.  
  66.     Two publicly-available programs which allow interactive definition of
  67. arbitrary portions of the display and built-in delays are asnap and xgrabsc.
  68. There are several versions of xgrabsc; version 2.3, available on ftp.x.org
  69. [9/93] is the most recent. xgrab, part of the package, is an interactive
  70. front-end to xgrabsc.
  71.     xsnap includes some asnap features and supersedes it; it also renders
  72. XPM output [version unknown]. It is available on ftp.x.org or avahi.inria.fr;
  73. see xsnap-pl2.tar.Z.
  74.     A screen-dump and merge/edit program combining features of xwd and xpr
  75. is available from vernam.cs.uwm.edu as xdump1.0.tar.Z.  Information:
  76. soft-eng@cs.uwm.edu.
  77.     xprint, by Alberto Accomazzi (alberto@cfa.harvard.edu) is available
  78. from cfa0.harvard.edu (128.103.40.1) as /pub/wipl/xprint.export-2.1.tar.Z.
  79. The package allows users to create encapsulated color PostScript files which
  80. will print on any PostScript Level-1 compliant printer (black and white or
  81. color).
  82.  
  83.     To post-process the xwd output of some of these tools, you can use
  84. xpr, which is part of the X11 distribution (moved to contrib in R6). Also on
  85. several archives are xwd2ps and XtoPS, which produce Encapsulated PostScript
  86. with trimmings suitable for use in presentations (see
  87. ftp.x.org:contrib/xwd2ps.tar.Z and contrib/ImageMagick2.3.7.tar.Z). Also
  88. useful is the PBMPLUS/Netpbm package on many archive servers; and the Xim
  89. package contains Level 2 color PostScript output.
  90.  
  91.     The XV program can grab a portion of the X display, manipulate it, and
  92. save it in one of the available formats. ImageMagick has similar
  93. capabilities.
  94.  
  95.     Also:
  96.  
  97.     Bristol Technology (info@bristol.com, 203-438-6969) offers Xprinter
  98. 2.0, an Xlib API for PostScript and PCL printers; a demo is on ftp.uu.net in
  99. vendor/Bristol/Xprinter.
  100.  
  101.     ColorSoft 9619-459-8500) offers OPENprint package includes a screen-
  102. capture facility, image-processing, and support for PostScript and
  103. non-PostScript printers.
  104.  
  105.     Some vendors' implementations of X (e.g. DECWindows and OpenWindows)
  106. include session managers or other desktop programs which include "print
  107. portion of screen" or "take a snapshot" options. Some platforms also have
  108. tools which can be used to grab the frame-buffer directly; the Sun systems,
  109. for example, have a 'screendump' program which produces a Sun raster file.
  110. Some X terminals have local screen-dump utilities to write PostScript to a
  111. local serial printer.
  112.  
  113.     Some vendors' implementations of lpr (e.g. Sony) include direct
  114. support for printing xwd files, but you'll typically need some other package
  115. to massage the output into a useful format which you can get to the printer.
  116.  
  117. ----------------------------------------------------------------------
  118. Subject:  22)  How do I make a color PostScript screendump of the X display?
  119.  
  120.     If you need color PostScript in particular, you can 
  121.     - grab the screen-image using a program which can produce color 
  122. PostScript, such as xgrabsc, xprint, and xv
  123.     - grab the screen-image using xwd and post-process xwd into color PS.
  124.     You can do this using xwd2ps or the XtoPS program from the ImageMagick
  125. distribution. The PBMPLUS/Netpbm package is also good for this, as is the Xim
  126. package.
  127.  
  128. ----------------------------------------------------------------------
  129. Subject:  23)  How do I make a screendump including the X cursor?
  130.  
  131.     This can't be done unless the X server has been extended. Consider
  132. instead a system-dependent mechanism for, e.g.,  capturing the frame-buffer.
  133.  
  134. ----------------------------------------------------------------------
  135. Subject:  24)! How do I convert or view Mac/TIFF/GIF/Sun/PICT/img/FAX images in X?
  136.  
  137.     The likeliest program is an incarnation of Jef Poskanzer's useful++
  138. Portable Bitmap Toolkit, which includes a number of programs for converting
  139. among various image formats. It includes support for many types of bitmaps,
  140. gray-scale images, and full-color images. PBMPLUS has been updated recently;
  141. the most recent version [12/91] is on ftp.x.org in
  142. contrib/pbmplus10dec91.tar.Z.
  143.     
  144.     Netpbm is based on the PBMPLUS 10dec91 release, with many additions
  145. and improvements. It is intended to be portable to many platforms while 
  146. allowing for conversion of images between a variety of formats. The latest
  147. sources are on several sites, including wuarchive.wustl.edu (128.252.135.4)
  148. and peipa.essex.ac.uk (155.245.115.161). Contact oliver@fysik4.kth.se to be
  149. added to the netpbm mailing list.
  150.  
  151.     Another tool is San Diego Supercomputing Center's IMtools ('imconv' in
  152. particular), which packages the functionality of PBM into a single binary.
  153. It's available anonymous ftp from sdsc.edu (132.249.20.22).
  154.  
  155.     Useful for viewing and converting some image-formats is Jim Frost's
  156. xloadimage; the most recent [11/93] is on ftp.x.org in
  157. contrib/xloadimage.4.1.tar.Z.  Graeme Gill's updates to an earlier version of
  158. xloadimage are also on ftp.x.org; see xli.README and xli.tar.Z.uu; version
  159. 1.15 was released 7/93.
  160.  
  161.     xv (X Image Viewer), written by bradley@cis.upenn.edu (John Bradley),
  162. can read and display pictures in Sun Raster, PGM, PBM, PPM, X11 bitmap, TIFF,
  163. GIF and JPEG. It can manipulate on the images: adjust, color, intensity,
  164. contrast, aspect ratio, crop). It can save images in all of the aforementioned
  165. formats plus PostScript. It can grab a portion of the X display, manipulate on
  166. it, and save it in one of the available formats. The program was updated 5/92;
  167. see the file contrib/xv-2.21.tar.Z on ftp.x.org.  Version 3.00 [5/93] is
  168. distributed as shareware.
  169.  
  170.     The Fuzzy Pixmap Manipulation, by Michael Mauldin
  171. (mlm@nl.cs.cmu.edu).  Conversion and manipulation package, similar to
  172. PBMPLUS.  Version 1.0 available via FTP as
  173. nl.cs.cmu.edu:/usr/mlm/ftp/fbm.tar.Z, uunet.uu.net:pub/fbm.tar.Z, and
  174. ucsd.edu:graphics/fbm.tar.Z.
  175.  
  176.     The Img Software Set, by Paul Raveling <raveling@venera.isi.edu>,
  177. reads and writes its own image format, displays on an X11 screen, and does
  178. some image manipulations.  Version 1.3 is available via FTP on ftp.x.org as
  179. contrib/img_1.3.tar.Z, along with large collection of color images.
  180.  
  181.     The Utah RLE Toolkit is a conversion and manipulation package similar
  182. to PBMPLUS.  Available via FTP as cs.utah.edu:pub/urt-*,
  183. weedeater.math.yale.edu:pub/urt-*, and freebie.engin.umich.edu:pub/urt-*.
  184.  
  185.     Xim, The X Image Manipulator, by Philip Thompson, does essential
  186. interactive displaying, editing, filtering, and converting of images. There is
  187. a version in the X11R4 contrib area; but a more recent version (using R4 and
  188. Motif 1.1) is available from gis.mit.edu (18.80.1.118). Xim reads/writes gif,
  189. xwd, xbm, tiff, rle, xim, (writes level 2 eps) and other formats and also has
  190. a library and command-line utilities for building your own applications.
  191.  
  192.     ImageMagick by cristy@dupont.com is an X11 package for display and
  193. interactive manipulation of images.  Includes tools for image conversion,
  194. annotation, compositing, animation, and creating montages.  ImageMagick can
  195. read and write many of the more popular image formats (JPEG, TIFF, PNM,
  196. Postscript, ...).  Available via FTP from ftp.x.org as
  197. contrib/ImageMagick2.3.6.tar.Z. [1/94]
  198.  
  199.     xtiff is a tool for viewing a TIFF file in an X window.  It was
  200. written to handle as many different kinds of TIFF files as possible while
  201. remaining simple, portable and efficient.  xtiff illustrates some common
  202. problems with building pixmaps and using different visual classes.  It is
  203. distributed as part of Sam Leffler's libtiff package and it is also available
  204. on ftp.x.org and comp.sources.x.  [dbs@decwrl.dec.com,10/90] xtiff 2.0 was
  205. announced in 4/91; it includes Xlib and Xt versions.
  206.  
  207.     A version of Lee Iverson's (leei@McRCIM.McGill.EDU) image-viewing tool
  208. is available as contrib/vimage-0.9.3.tar.Z on ftp.x.org. The package also
  209. includes an ImageViewPort widget and a FileDialog widget.  [12/91;5/92]
  210.  
  211.     The Andrew User Interface System (version 5.2 and later) provides an
  212. image inset which can view many image formats.  Like all Andrew insets, an
  213. image can be incorporated in a a document or sent in email via the MIME
  214. standard. The following formats can be read:  Sunraster, GIF, Xbitmap,  TIFF,
  215. Xpixmap, JPEG, PBM, XWD.
  216.  
  217.     The LUG (Libreria de Utilidades Graficas) is a library of subroutines
  218. offering several routines for the manipulation of images in several different
  219. formats. The distribution includes viewers for several different platforms. The
  220. distribution is on telva.ccu.uniovi.es (156.35.31.31): 
  221. /uniovi/mathdept/src/liblug-1.0.1.tar.gz.
  222.  
  223.     The X Image Extension (XIE), an X Consortium standard in R6, provides
  224. facilities for transmitting displaying fax (G3, G4), TIFF, and JPEG images.
  225.  
  226. [some material from Larry Carroll (larryc@poe.jpl.nasa.gov), 5/91]
  227.  
  228. ----------------------------------------------------------------------
  229. Subject:  25)  Where can I get an X-based 3-D object viewer?
  230.  
  231.     xmgf by Paul Hoad (P.Hoad@ee.surrey.ac.uk) is an interactive tool for 
  232. viewing 2D and 3D objects typically in gf/OFF/NFF/IGRIP/MINICAD/SLA/DXF format
  233. Sources are on ftp.x.org.  Version 1.9.1 became available 12/93.
  234.  
  235.     x3d is a V.Fast 3D Object viewer for X it needs no special hardware or
  236. or widget libraries other that X and is optimized for speed.
  237.  
  238.     XGobi can be used to to view such data.
  239.     
  240.     VOGLE can be used to to view such data.
  241.  
  242. ----------------------------------------------------------------------
  243. Subject:  26)  How can I change the titlebar of my xterm window?
  244.  
  245.     The solution involves sending an escape sequence to xterm which will
  246. cause it to update the property which the window manager relies upon for the
  247. string which appears in the window titlebar.
  248.     A solution is as easy as typing this in an xterm running a shell:
  249.         echo "ESC]2;TEXT^G"
  250. where ESC is the escape key, TEXT is the string you wish to have displayed,
  251. and ^G is a Control-G (the BEL character). Note that the semi-colon is
  252. demanded by more recent versions of xterm. (Some shells and editors need an
  253. escape character, typically ^V, before accepting control characters literally.)
  254.  
  255.     Here is a more complicated csh alias which changes the titlebar to the
  256. current working directory when you change directories:
  257.         alias newcd 'cd \!*; echo -n ESC]2\;$cwd^G'
  258. (for other shells e.g. ksh you will need to write a function for cd to print
  259. this value).
  260.  
  261.     The digit '2' in these strings indicates to xterm that it should
  262. change only the title of the window; to change both the title and the name
  263. used in the icon, use the digit '0' instead, and use '1' to change only the
  264. icon name.
  265.  
  266.     Note: another way to do this, which prevents an incorrect display of
  267. the local directory if a modified `cd` is used in a subshell, is to wrap the
  268. escape sequences into the PS1 prompt itself.
  269.  
  270. ----------------------------------------------------------------------
  271. Subject:  27)! Where can I find the xterm control sequences?
  272.  
  273. The best source of such information is in your R5/R6 sources in the file
  274. ctlseqs.ms (R6: xc/doc/specs/xterm/ctlseqs.ms); a PostScript version is in
  275. your R5 sources in mit/hardcopy/clients/ctlseqs.PS.Z and your R6 sources in
  276. xc/doc/hardcopy/xterm/ctlseqs.PS.Z.
  277.  
  278. O'Reilly's Volume 3, the X User's Guide, includes an R5 version of the control
  279. sequences; the standard volume will be available 3/93, and a Motif version of
  280. the book is available now. The current (R4) guide includes an outdated version
  281. of the control sequences. [1/93]
  282.  
  283. Other good sources of information include the R4 version of that document and
  284. also the file in the R4 sources called mit/clients/xterm/ctlseq2.txt, a
  285. compilation put together by Skip Montanaro (GE CR&D) listing the VT100
  286. sequences. It dates from R3 but is fairly accurate.  A hardcopy version was
  287. published in the December 1989 XNextEvent (the XUG newsletter).
  288.  
  289. In a pinch, a VT100 manual will do.
  290.  
  291. [last updated 10/91]
  292.  
  293. ----------------------------------------------------------------------
  294. Subject:  28)! How can I use characters above ASCII 127 in xterm ?
  295.  
  296.     In order to use special characters such as the o-umlaut, you need to
  297. "stty pass8" (you may need "stty -parenb -istrip cs8" on strictly-POSIX
  298. systems) but also to use a charcell ISO8859 font, such as
  299.     XTerm*font:     -*-*-medium-r-normal-*-*-130-*-*-c-*-iso8859-1
  300.     XTerm*boldfont: -*-*-bold-r-normal-*-*-130-*-*-c-*-iso8859-1 [The
  301. family is intentionally unspecified in this example.]
  302.  
  303. In addition, you may want to set this in your shell:
  304.     setenv LC_CTYPE iso_8859_1
  305.  
  306.     For a given character above 127, you can determine the key to use with
  307. the Alt modifier by finding the equivalent character below 127 (try using `man
  308. ascii`). For example, o-umlaut (v) is Alt-v and the section character (') is
  309. Alt-'.
  310.  
  311. [thanks to Greg Holmberg (greg%thirdi@uunet.uu.net) and Stephen Gildea
  312. (gildea@x.org); 6/92]
  313.  
  314. ----------------------------------------------------------------------
  315. Subject:  29)  Why are my xterm menus so small (sic) ?
  316.  
  317.     You are probably setting the geometry small accidentally. If you give
  318. a resource specification like this:
  319.         xterm*geometry: 80x24
  320. then you are asking for all widgets under xterm to have their geometry set to
  321. 80x24. For the main window, this is OK, as it uses characters for its size.
  322. But its popup menus don't; they are in pixels and show up small. To set only
  323. the terminal widget to have the specified geometry, name it explicitly:
  324.         xterm*VT100.geometry: 80x24
  325.  
  326. ----------------------------------------------------------------------
  327. Subject:  30)  How can I print the current X selection?
  328.  
  329.     You could paste it into an xterm after executing the lpr command.
  330. However, a program by Richard Hesketh (rlh2@ukc.ac.uk) specifically for
  331. manipulating the selection will help; e.g.
  332.     % xselection PRIMARY | lpr 
  333. finds the primary selection and prints it.
  334.     This command can be placed in a window-manager menu or in
  335. shell-scripts.  xselection also permits the setting of the selection and other
  336. properties. A version is on ftp.x.org.
  337.     Also available is ria.ccs.uwo.ca:pub/xget_selection.tar.Z, which can
  338. be adapted to do this.
  339.  
  340. ----------------------------------------------------------------------
  341. Subject:  31)! How does Xt use environment variables in loading resources?
  342.  
  343.     You can use several environment variables to control how resources are
  344. loaded for your Xt-based programs -- XFILESEARCHPATH, XUSERFILESEARCHPATH, and
  345. XAPPLRESDIR.  These environment variables control where Xt looks for
  346. application-defaults files as an application is initializing.  Xt loads at
  347. most one app-defaults file from the path defined in XFILESEARCHPATH and
  348. another from the path defined in XUSERFILESEARCHPATH.
  349.  
  350.     XAPPLRESDIR existed in R3 and before.  As of R4, the Xt developers
  351. added the more sophisticated *SEARCHPATH mechanism, but left XAPPLRESDIR in
  352. place to avoid breaking existing software.
  353.  
  354.     Set XFILESEARCHPATH if software is installed on your system in such a
  355. way that app-defaults files appear in several different directory
  356. hierarchies.  Suppose, for example, that you are running Sun's Open Windows,
  357. and you also have some R4 X applications installed in
  358. /usr/lib/X11/app-defaults. You could set a value like this for
  359. XFILESEARCHPATH, and it would cause Xt to look up app-defaults files in both
  360. /usr/lib/X11 and /usr/openwin/lib (or wherever your OPENWINHOME is located):
  361.     setenv XFILESEARCHPATH /usr/lib/X11/%T/%N:$OPENWINHOME/lib/%T/%N
  362.  
  363. The value of this environment variable is a colon-separated list of
  364. pathnames.  The pathnames contain replacement characters as follows (see
  365. XtResolvePathname()):
  366.  
  367.     %N      The value of the filename parameter, or the
  368.         application's class name.  
  369.     %T      The value of the file "type".  In this case, the
  370.         literal string "app-defaults" 
  371.     %C      customization resource (R5/R6 only) 
  372.     %D    site default value for XFILESEARCHPATH (R6 only)
  373.     %S      Suffix.  None for app-defaults.  
  374.     %L      Language, locale, and codeset (e.g. "ja_JP.EUC") 
  375.     %l      Language part of %L (e.g. "ja") 
  376.     %t      The territory part of the display's language string 
  377.     %c      The codeset part of the display's language string
  378.  
  379.     Let's take apart the example.  Suppose the application's class name is
  380. "Myterm". Also, suppose Open Windows is installed in /usr/openwin.
  381. (Notice the example omits locale-specific lookup.)
  382.     /usr/lib/X11/%T/%N        means /usr/lib/X11/app-defaults/Myterm
  383.     $OPENWINHOME/lib/%T/%N    means /usr/openwin/lib/app-defaults/Myterm
  384.  
  385.     As the application initializes, Xt tries to open both of the above
  386. app-defaults files, in the order shown.  As soon as it finds one, it reads it
  387. and uses it, and stops looking for others.  The effect of this path is to
  388. search first in /usr/lib/X11, then in /usr/openwin.
  389.  
  390.     Let's consider another example. This time, let's set
  391. XUSERFILESEARCHPATH so it looks for the file Myterm.ad in the current working
  392. directory, then for Myterm in the directory ~/app-defaults.
  393.     setenv XUSERFILESEARCHPATH ./%N.ad:$HOME/app-defaults/%N
  394.  
  395.     The first path in the list expands to ./Myterm.ad.  The second expands
  396. to $HOME/app-defaults/Myterm.  This is a convenient setting for debugging
  397. because it follows the Imake convention of naming the app-defaults file
  398. Myterm.ad in the application's source directory, so you can run the
  399. application from the directory in which you are working and still have the
  400. resources loaded properly.  NOTE: when looking for app-default files with
  401. XUSERFILESEARCHPATH, for some bizarre reason, neither the type nor file suffix
  402. is defined so %T and %S are useless.
  403.  
  404.     With R5 and R6, there's another twist.  You may specify a customization
  405. resource value.  For example, you might run the "myterm" application like
  406. this:
  407.     myterm -xrm "*customization: -color"
  408.  
  409.     If one of your pathname specifications had the value
  410. "/usr/lib/X11/%T/%N%C" then the expanded pathname would be
  411. "/usr/lib/X11/app-defaults/Myterm-color" because the %C substitution character
  412. takes on the value of the customization resource.
  413.  
  414.     The default XFILESEARCHPATH, compiled into Xt, is:
  415.         /usr/lib/X11/%L/%T/%N%C:\  (R5) /usr/lib/X11/%l/%T/%N%C:\ (R5)
  416.         /usr/lib/X11/%T/%N%C:\     (R5) /usr/lib/X11/%L/%T/%N:\
  417.         /usr/lib/X11/%l/%T/%N:\ /usr/lib/X11/%T/%N
  418.  
  419.     (Note: some sites replace /usr/lib/X11 with a ProjectRoot in this
  420. batch of default settings.)
  421.  
  422.     The default XUSERFILESEARCHPATH, also compiled into Xt, is
  423.         <root>/%L/%N%C:\  (R5) <root>/%l/%N%C:\  (R5)
  424.         <root>/%N%C:\     (R5) <root>/%L/%N:\ <root>/%l/%N:\
  425.         <root>/%N:
  426.  
  427.     <root> is either the value of XAPPLRESDIR or the user's home directory
  428. if XAPPLRESDIR is not set.  If you set XUSERFILESEARCHPATH to some value other 
  429. than the default, Xt ignores XAPPLRESDIR altogether.
  430.  
  431.     Notice that the quick and dirty way of making your application find
  432. your app-defaults file in your current working directory is to set XAPPLRESDIR
  433. to ".", a single dot.  In R3, all this machinery worked differently; for R3
  434. compatibilty, many people set their XAPPLRESDIR value to "./", a dot followed
  435. by a slash.
  436.  
  437. [Thanks to Oliver Jones (oj@world.std.com); 2/93.]
  438.  
  439. ----------------------------------------------------------------------
  440. Subject:  32)! How to I have xdm put a picture behind the log-in window?
  441.  
  442. R5/R6 users can specify the "setup" script that xdm runs by changing the
  443. entry in the xdm-config file (usually in /usr/lib/X11/xdm) to name a
  444. different script; the sample script distributed with the X distribution
  445. simply runs xconsole.  See the SETUP PROGRAM section of the xdm man page in
  446. R6 for precise details.
  447.  
  448. Pre-R5 versions of the xdm client could be spoofed by in changing xdm's xrdb
  449. resource in the xdm-config file to run a program to change the background
  450. before loading the resources; for example, your /usr/lib/X11/xdm/xdm-config
  451. file may add the line
  452.     DisplayManager.0.authorize: false 
  453. to permit unrestricted access to the display before log-in (beware!) and also
  454.     DisplayManager*xrdb:    /usr/lib/X11/xdm/new.xrdb 
  455. where that file does something (for all connections) along the lines of:
  456.     #!/bin/sh 
  457.     #comes in with arguments: -display :0 -load /usr/lib/X11/xdm/Xresources
  458.     /usr/bin/X11/xsetroot -display $2 -bitmap /usr/lib/X11/xdm/new.bitmap 
  459.     /usr/bin/X11/xrdb $* 
  460. Substitute xloadimage or xv for xsetroot, to taste.  Note that this is a
  461. general hack that can be used to invoke a console window or any other client.
  462.  
  463. [Thanks to Jay Bourland (jayb@cauchy.stanford.edu), 9/91]
  464.  
  465. ----------------------------------------------------------------------
  466. Subject:  33)  Why isn't my PATH set when xdm runs my .xsession file?
  467.  
  468.     When xdm runs your .xsession it doesn't source your .cshrc or .login
  469. files. You can set the path explicitly as you normally could for any SH
  470. script; or you can place all environment-setting statements in a separate file
  471. and source it from both the .xsession file and your shell configuration file;
  472. or, if you set your PATH in your .cshrc file, the normal place, you can make
  473. your .xsession have PATH set simply by making it a csh script, i.e. by starting
  474. your .xsession file off with "#!/bin/csh".
  475.     If this doesn't work, also try starting off with:
  476.     #!/bin/sh # Reset path:  PATH=`csh -c 'echo $PATH'` ; export PATH
  477.  
  478. ----------------------------------------------------------------------
  479. Subject:  34)! How do I keep my $DISPLAY when I rlogin to another machine?
  480.  
  481.     There are several ways to avoid having to do a "setenv DISPLAY ..."
  482. whenever you log in to another networked UNIX machine running X.
  483.     A trivial solution, if your account is cross-mounted on both machines,
  484. is to have your .xsession write your DISPLAY variable to a file, and then in
  485. your login dot-files to check for the existence of that that file and use its
  486. contents as your DISPLAY. [Thanks to joachim.fricker@zh014.ubs.ubs.ch.]
  487.     One solution is to use the clients/xrsh on the R5 contrib tape.  It 
  488. includes xrsh, a script to start an X application on remote machine, and
  489. xrlogin, a script to start a local xterm running rlogin to a remote machine.
  490. A more recent version is on export in xrsh-5.4.shar.
  491.     One solution is to use the xrlogin program from der Mouse
  492. (mouse@larry.mcrcim.mcgill.edu). You can ftp caveat-emptor versions from
  493. 132.206.1.1, in X/xrlogin.c and X/xrlogind.c. The program packages up $TERM and
  494. $DISPLAY into a single string, which is stuffed into $TERM.  rlogin then 
  495. propagates $TERM normally; your .cshrc on the remote machine should contain
  496.         eval `xrlogind`
  497. where xrlogind is a program that checks $TERM and if it is of the special 
  498. format it recognizes, unpacks it and spits out setenv and unsetenv commands to 
  499. recreate the environment variables. [11/90]
  500.  
  501.     In addition, if all you need to do is start a remote X process on 
  502. another host, and you find
  503.         rsh <HOST> -n /usr/bin/X11/xterm -display $DISPLAY 
  504. too simple (DISPLAY must have your real hostname), then this version of xrsh 
  505. can be used to start up remote X processes. The equivalent usage would be 
  506.         xrsh <HOST> xterm
  507.  
  508.   #! /bin/sh
  509.   # start an X11 process on another host
  510.   # Date: 8 Dec 88 06:29:34 GMT
  511.   # From: Chris Torek <chris@mimsy.umd.edu>
  512.   # rsh $host -n "setenv DISPLAY $DISPLAY; exec $@ </dev/null >&/dev/null"
  513.   #
  514.   # An improved version:
  515.   # rXcmd (suggested by John Robinson, jr@bbn.com)
  516.   #       (generalized for sh,ksh by Keith Boyer, keith@cis.ohio-state.edu)
  517.   #
  518.   # but they put the rcmd in ()'s which left zombies again.  This
  519.   # script combines the best of both.
  520.   
  521.   case $# in
  522.   [01])  echo "Usage: $0 host x-cmd [args...]";;
  523.   *)
  524.       case $SHELL in
  525.       *csh*)  host="$1"; shift
  526.           xhost "$host" > /dev/null
  527.           rsh "$host" -n \
  528.               "setenv TERM xterm; setenv DISPLAY `hostname`:0; \
  529.               exec $* </dev/null >& /dev/null" &
  530.           ;;
  531.       *sh)
  532.           host="$1"; shift
  533.           xhost "$host" > /dev/null
  534.           rsh "$host" -n \
  535.               "TERM=xterm export TERM; \
  536.               DISPLAY=`hostname`:0 export DISPLAY; \
  537.               LD_LIBRARY_PATH=/usr/X11/lib export LD_LIBRARY_PATH; \
  538.               PATH=\$PATH:/usr/X11/bin:/usr/bin/X11:/usr/local/bin; \
  539.             export PATH; \
  540.               exec $* < /dev/null > /dev/null 2>&1" &
  541.           ;;
  542.       esac
  543.       ;;
  544.   esac
  545.  
  546. You may also want to look at programs/rstart in the R6 distribution; this
  547. remote execution protocol is intended to work in concert with session
  548. managers.
  549.  
  550. ----------------------------------------------------------------------
  551. Subject:  35)  How can I design my own font?
  552.  
  553.     One way is to use the "bitmap" client or some other bitmap-editor
  554. (e.g.  Sun's icon-editor tool, post-processed with pbmplus) to design the
  555. individual characters and then to do some large amount of post-processing to
  556. concatenate them into the BDF format. See Ollie Jones's article in the
  557. November 91 X Journal for more information.
  558.  
  559.     The R3 contrib/ area (in fonts/utils/ and in clients/xtroff) contained
  560. a number of useful utilities, including some to convert between BDF font
  561. format and a simple character format which can be edited with any text
  562. editor.
  563.  
  564.     An easier way is to use the "xfed" client to modify an existing font;
  565. a version is on the R4 or R5 X11R5 contrib tape in contrib/clients/xfed. Xfed
  566. was last seen on ftp.Informatik.Uni-Dortmund.DE [129.217.64.63], possibly as
  567. file /pub/windows/X/Diverse-X11-Sourcen/xfed.tar.Z. It can produce BDF-format
  568. fonts which can be compiled for a variety of X servers.
  569.  
  570.     The xfedor client from Group Bull permits creation of bitmaps,
  571. cursors, XPM1 pixmaps, and fonts. Binaries for common machines are on
  572. avahi.inria.fr in /pub; in addition, the sources (an old Xlib implementation)
  573. have been placed [5/91] in ftp.x.org:/contrib.
  574.  
  575.     If you are a MetaFont user you can use "mftobdf" from the SeeTeX
  576. distribution to convert PK, GF, and PXL fonts to BDF format; the distribution
  577. is on ftp.cs.colorado.edu and on ftp.x.org.
  578.     The GNU package fontutils-0.4.tar.Z on prep.ai.mit.edu includes xbfe,
  579. a font editor, and a number of utilities for massaging font formats.
  580.     The O'Reilly X Resource issue #2 contains an article on using these
  581. tools to modify a font.
  582.  
  583.     Fonts can be resized with Hiroto Kagotani's bdfresize; a new version
  584. is in ftp.cs.titech.ac.jp:/X11/contrib.  bdffont in the Andrew User Interface
  585. System (versions 5.2.2 and higher) lets you create a font or edit an existing
  586. one.
  587.  
  588. ----------------------------------------------------------------------
  589. Subject:  36)! Why does adding a font to the server not work (sic)?
  590.  
  591.     After you have built the font using your system's font-compiler,
  592. installed it in some directory, and run `mkfontdir` or your system's
  593. equivalent (e.g. bldfamily for OpenWindows) in that directory, be sure to use
  594. `xset +fp $dir` to add that full path-name to the server's font-path, *or* if
  595. the directory is already in the path, use `xset fp rehash` so that the new
  596. fonts in that directory are actually found; it is this last step that you're
  597. probably leaving out. (You can also use `xset q` to make sure that that
  598. directory is in the path.)
  599.     Sometimes your "xset +fp $dir" command fails with a BadValue error:
  600.         X Error of failed request:BadValue
  601.             (integer parameter out of range for operation) Major
  602.         opcode of failed request:  51 (X_SetFontPath)
  603.  
  604.     This means the X server cannot find or read your font directory, or
  605. that your directory does not look like a font directory to the server.  (The
  606. mention of an "integer parameter" in the message is spurious.)
  607.  
  608. -- Is the font directory you're specifying readable from the SERVER's file
  609.    system?  Remember, it's the server, not the client, which interprets your
  610.    font directory.  Trouble in this area is especially likely when you issue
  611.    an xset command with shell metacharacters in it (e.g. "xset +fp ~/myfonts")
  612.    and the server is an X terminal or managed by xdm.
  613.  
  614. -- Is the directory really a font directory?  If you're running the sample X
  615.    server (or most varieties of vendor servers) look in the directory for the
  616.    file "fonts.dir".  If you can't find that file, run mkfontdir(1). (If you're
  617.    running OpenWindows, look for the file "Families.list".  If you can't find
  618.    it, run bldfamily(1).)
  619.  
  620. -- If you're in a site where some people run X11Rn servers and others run a
  621.    proprietary server with nonstandard font formats (OpenWindows, for
  622.    example), make sure the font directory is right for the server you're
  623.    using.  Hint: if the directory contains .pcf and/or .snf files, it won't
  624.    work for Open Windows.  If the directory contains .ff and/or .fb files, it
  625.    won't work for X11Rn.
  626.  
  627. [thanks to der Mouse (mouse@larry.mcrcim.mcgill.edu) and to Oliver Jones
  628. (oj@pictel.com); 7/92 ]
  629.  
  630. Note: some systems (e.g. X11R4 on AIX) need a trailing '/' in the directory
  631. name.
  632.  
  633. ----------------------------------------------------------------------
  634. Subject:  37)  How do I convert a ".snf" font back to ".bdf" font?
  635.  
  636.     A tool called "snftobdf 1.6" can do this; it is available as:
  637.         ftp.x.org:contrib/snftobdf-1.6.tar.Z
  638.         crl.nmsu.edu:pub/misc/snftobdf-1.6.tar.Z
  639.  
  640. ----------------------------------------------------------------------
  641. Subject:  38)! What is a general method of getting a font in usable format?
  642.  
  643.     der Mouse's getbdf is one solution; it connects to a server and
  644. produces a .BDF file for any font the server is willing to let it.  It can be
  645. used as an anything-to-BDF converter, but requires access to a server that can
  646. understand the font file, thus is both more and less powerful than other tools
  647. such as snftobdf. getbdf is on 132.206.1.1 in X/getbdf.c or available via mail
  648. from mouse@larry.McRCIM.McGill.EDU. [5/91]
  649.     In addition, the R5/R6 program "fstobdf" can produce bdf for any font
  650. that the R5 server has access to.
  651.  
  652. ----------------------------------------------------------------------
  653. Subject:  39)  How do I use DECwindows fonts on my non-DECwindows server?
  654.  
  655.     The DECwindows fonts typically don't exist on a non-DEC installation,
  656. but rewrite rules can be used to alias fonts used by DECwindows applications
  657. to standard X fonts of similar characteristics and size. Pick up the file
  658. contrib/DECwindows_on_X11R4_font.aliases from ftp.x.org; this file is for a
  659. sample R4 server.  It can also serve as a starting point for creating a
  660. similar aliases file for the Open Windows server or other servers which do not
  661. use the X Consortium's font scheme.
  662.  
  663. ----------------------------------------------------------------------
  664. Subject:  40)+ How do I get a font name from the structure?
  665.  
  666. You can't, although you can build up the font properties to rebuild a
  667. description of the font in XLFD format, which should be sufficient.
  668.  
  669. This routine is derived from source provided by John L. Cwikla 
  670. (cwikla@wri.com).
  671.  
  672. #include <X11/Xlib.h>
  673.  
  674. #include <stdio.h>
  675.  
  676. /* Stolen from mit/fonts/lib/font/bitmap/bitscale.c */
  677.  
  678. enum scaleType
  679. {
  680.     atom, pixel_size, point_size,
  681.     resolution, resolution_x, resolution_y, average_width,
  682.     scaledX, scaledY, unscaled, scaledXoverY, uncomputed,
  683. };
  684.  
  685. typedef struct _fontProp
  686. {
  687.     char       *name;
  688.     Atom        atom;
  689.     enum scaleType type;
  690.     char found;
  691. } fontProp;
  692.  
  693. static fontProp fontNamePropTable[] = 
  694. {
  695.     { "FOUNDRY", 0, atom, 0},
  696.     { "FAMILY_NAME", 0, atom, 0},
  697.     { "WEIGHT_NAME", 0, atom, 0},
  698.     { "SLANT", 0, atom, 0},
  699.     { "SETWIDTH_NAME", 0, atom, 0},
  700.     { "ADD_STYLE_NAME", 0, atom, 0},
  701.     { "PIXEL_SIZE", 0, pixel_size, 0},
  702.     { "POINT_SIZE", 0, point_size, 0},
  703.     { "RESOLUTION_X", 0, resolution_x, 0},
  704.     { "RESOLUTION_Y", 0, resolution_y, 0},
  705.     { "SPACING", 0, atom, 0},
  706.     { "AVERAGE_WIDTH", 0, average_width, 0},
  707.     { "CHARSET_REGISTRY", 0, atom, 0},
  708.     { "CHARSET_ENCODING", 0, atom, 0},
  709. #if 0
  710.     { "FONT", 0, atom, 0},
  711. #endif /* 0 */
  712. };
  713.  
  714. #define NUMITEMS(arr) ((int) (sizeof(arr) / sizeof(arr[0])))
  715.  
  716. void regenerateFontName(Display *display, XFontStruct *xfs)
  717. {
  718.     int i;
  719.     unsigned long retValue;
  720.     if (xfs)
  721.     {
  722.          for(i=0;i<NUMITEMS(fontNamePropTable); i++)
  723.         {
  724.                 fontNamePropTable[i].atom = 
  725.                 XInternAtom(display, fontNamePropTable[i].name, 0);
  726.             if (XGetFontProperty(xfs, fontNamePropTable[i].atom, &retValue))
  727.             {
  728.                 switch(fontNamePropTable[i].type)
  729.                 {
  730.                     case atom:
  731.                         printf("%s", XGetAtomName(display, (Atom)retValue));
  732.                         break;
  733.  
  734.                     case pixel_size:
  735.                     case point_size:
  736.                     case resolution:
  737.                     case resolution_x:
  738.                     case resolution_y:
  739.                     case average_width:
  740.                     case scaledX:
  741.                     case scaledY:
  742.                     case unscaled:
  743.                     case scaledXoverY:
  744.                     case uncomputed:
  745.                             printf("%d", retValue);
  746.                             break;
  747.                 }
  748.             }
  749.             else
  750.                 printf("*");
  751.  
  752.             if (i != (NUMITEMS(fontNamePropTable)-1))
  753.                 printf("-");
  754.             else
  755.                 printf("\n");
  756.         }
  757.     }
  758. }
  759.  
  760.  
  761. ----------------------------------------------------------------------
  762. Subject:  41)! How can I set backgroundPixmap in a defaults file? (What is XPM?) 
  763. I want to be able to do something like this:
  764.     xclock*backgroundPixmap:      /usr/include/X11/bitmaps/rootweave
  765.  
  766.     You can't do this. The backgroundPixmap resource is a pixmap of the
  767. same depth as the screen, not a bitmap (which is a pixmap of depth 1).
  768. Because of this, writing a generic String to Pixmap converter is impossible,
  769. since there is no accepted convention for a file format for pixmaps.
  770. Therefore, neither the X Toolkit or the Athena widget set define a String to
  771. Pixmap converter; because there is no converter you cannot specify this value
  772. as a resource.  The Athena widget set does define a String to Bitmap converter
  773. for use in many of its widgets, however.  [courtesy Chris D.  Peterson (now
  774. kit@ics.com), 4/90]
  775.  
  776. However:
  777.     A specific converter which encapsulates much of the functionality of
  778. the xloadimage package by Jim Frost was posted 12/90 by Sebastian Wangnick
  779. (basti@unido.informatik.uni-dortmund.de); it permits loading of a number of
  780. image formats as a pixmap.
  781.  
  782.     The leading general-purpose format for pixmaps is the XPM format used
  783. by Groupe Bull in several of its programs, including the GWM window manager,
  784. by AT&T in its olpixmap editor, and by ICS in its interface builder. XPM
  785. distribution, available on ftp.x.org as contrib/xpm.tar.Z, includes
  786. read/write routines which can easily be adapted to converters by new widgets
  787. which want to allow specification of pixmap resources in the above manner.
  788. See information on the xpm-talk mailing list above. XPM 3.4a became available
  789. in 4/94 and is available from ftp.x.org and avahi.inria.fr; an older version
  790. is on the R5 contrib tape. [A set of XPM icons collected by Anthony Thyssen
  791. (anthony@kurango.cit.gu.edu.au) is on ftp.x.org in contrib/AIcons; the
  792. hobbes-icon-xpm3 collection of XPM icons is on hobbes.nmsu.edu./]
  793.  
  794. ----------------------------------------------------------------------
  795. Subject:  42)  Why can't I override translations? Only the first item works. (sic)
  796.  
  797.     You probably have an extra space after the specification of the first 
  798. item, like this:
  799.     basic*text.translations:  #override \
  800.     Ctrl<Key>a:    beginning-of-line() \n\     
  801.     Ctrl<Key>e:    end-of-line()
  802.                           ^ extra space
  803. The newline after that space is ending the translation definition.
  804. [Thanks to Timothy J. Horton, 5/91]
  805.  
  806. ----------------------------------------------------------------------
  807. Subject:  43)  How can I have a clock show different timezones?
  808.  
  809.     One solution is xchron, in Volume 6 of comp.sources.x, which can show
  810. the time for timezones other than the local one.
  811.     sunclock on ftp.x.org displays a world map with sun/dark areas and
  812. local and UTC time.
  813.     The OpenWindows clock has a TimeZone property.  Modifications to the
  814.     Xaw clock widget to support hour and minute offsets were posted by
  815. David Herron (david@twg.com).
  816.     A patch for the clock coming with the Xaw3D widgets introduces
  817. resources hourOffset, minuteOffset, gmt; it can be found at
  818. ftp.wu-wien.ac.at:pub/src/X11/wafe/xaw3d.Clock.patch.
  819.  
  820.     Alternatively, you can probably set the timezone in the shell from
  821. which you invoke the xclock or oclock, or use a script similar to this:
  822.     #!/bin/sh 
  823.     TZ=PST8PDT xclock -name "Palmy" 2> /dev/null &
  824.     TZ=EST5EDT xclock -name "Balmy" 2> /dev/null &
  825.  
  826. ----------------------------------------------------------------------
  827. Subject:  44)  I have xmh, but it doesn't work. Where can I get MH?
  828.  
  829. The xmh mail-reader requires the Rand MH mail/message handling system, which
  830. is not part of the UNIX software distribution for many machines.  A list of
  831. various ftp, uucp, e-mail and US-mail sites for both xmh and MH is given in
  832. the monthly MH FAQ; one source is ics.uci.edu.
  833.  
  834. ----------------------------------------------------------------------
  835. Subject:  45)  Why am I suddenly unable to connect to my Sun X server?  
  836. After a seemingly random amount of time after the X server has been started,
  837. no other clients are able to connect to it.
  838.  
  839.     The default cron cleanup jobs supplied by Sun (for 4.0.3, at least)
  840. delete "old" (unreferenced) files from /tmp -- including /tmp/.X11-unix, which
  841. contains the socket descriptor used by X. The solution is to add "!  -type s"
  842. to the find exclusion in the cron job.  [10/90]
  843.  
  844. ----------------------------------------------------------------------
  845. Subject:  46)  Why don't the R5 PEX demos work on my mono screen?
  846.  
  847. The R5 sample server implementation works only on color screens, sorry.
  848.  
  849. ----------------------------------------------------------------------
  850. Subject:  47)! How do I get my Sun Type-[45] keyboard fully supported by Xsun?
  851.  
  852. The R6 Xsun supports Sun Type-[45] keyboards; see the KEYBOARDS section of
  853. the Xsun man page.
  854.  
  855. Many users wants the Num Lock key to light the Num Lock LED and have the
  856. appropriate effect on the numeric keypad.  The R5 Xsun server as distributed
  857. by the Consortium doesn't do this but there are two different patches
  858. available.
  859.  
  860. The first patch is written by Jonathan Lemon and fixes the Num Lock related
  861. problems. It is available from ftp.x.org in the file
  862. contrib/Xsun-R5.numlock_patch.Z .
  863.  
  864. The second is written by Martin Forssen and fixes the Num Lock and Compose
  865. keys and adds support for the different national keyboard layouts for Type-4
  866. and Type-5 keyboards. This patch is available from ftp.x.org in
  867. contrib/sunkbd.930314.tar.Z or via email from maf@dtek.chalmers.se.
  868.  
  869. [thanks to Martin Forssen (maf@dtek.chalmers.se or maf@math.chalmers.se),
  870. 8/92]
  871.  
  872. A set of patches by William Bailey (dbgwab@arco.com) was posted to newsgroups
  873. 11/92 to provide support for the Type-5 keyboard.
  874.  
  875. (Note that use of xmodmap to map function and arrow keys can make the Type 5
  876. keyboard more useful without needing these patches.)
  877.  
  878. ----------------------------------------------------------------------
  879. Subject:  48)  How do I report bugs in X?
  880.  
  881.     Generally, report bugs you find to the organization that supplied you
  882. with the X Window System.  If you received the R6 source distribution
  883. directly from the Consortium, please read the file xc/bug-report for
  884. instructions.  [Look in mit/bug-report for R5, mit/doc/bugs/bug-report in
  885. R4.]
  886.  
  887. [Thanks to Stephen Gildea <gildea@x.org>, 5/91; 12/91]
  888.  
  889. ----------------------------------------------------------------------
  890. Subject:  49)  Why do I get "Warning: Widget class version mismatch"?
  891.  
  892.     This error, which typically goes on to say, "widget 11004 vs.
  893. intrinsics 11003" indicates that the header files you included when building
  894. your program didn't match the header files that the Xt library you're linking
  895. against was built with; check your -I include path and -L link-path to be
  896. sure.
  897.     However, the problem also occurs when linking against a version of the
  898. X11R4 Xt library before patch 10; the version number was wrong.  Some Sun OW
  899. systems, in particular, were shipped with the flawed version of the library,
  900. and applications which link against the library typically give the warnings
  901. you have seen.
  902.  
  903. ----------------------------------------------------------------------
  904. Subject:  50)! Why does my SPARC say "Mapping cg3c: No such device or address"?
  905.  
  906.        The R6 sun ddx uses information returned by the device driver to do
  907. the right thing, so this problem should go away with R6, but the X Consortium
  908. does not have this configuration available to test it.
  909.  
  910.     This problem comes up on Sun SPARC Classic machines.  There is no X
  911. Consortium fix for this problem, but the correction can be made to X11R5
  912. sources by editing the file "src/mit/server/ddx/sun/sunCG3C.c". Find the
  913. second buffer definition that looks like this:
  914.  
  915.    typedef struct cg3bc {
  916.    #ifdef sparc
  917.            u_char mpixel[128*1024];         /* bit-per-pixel memory */
  918.            u_char epixel[128*1024];         /* enable plane */
  919.    #endif
  920.            u_char cpixel[CG3B_HEIGHT][CG3B_WIDTH];   /* byte-per-pixel memory */
  921.    } CG3BC, CG3BCRec, *CG3BCPtr;
  922.  
  923. and change the instances of "128*1024" to "96*1024". Then recompile the
  924. X server.
  925.  
  926. [thanks to Russ Poffenberger (poffen@San-Jose.ate.slb.com)]
  927.  
  928. ----------------------------------------------------------------------
  929. Subject:  51)  Where can I find a dictionary server for xwebster?
  930.  
  931.     Webster's still owns the copyright to the on-line copies of Webster's
  932. Dictionary which are found at various (university) sites. After it became
  933. aware that these sites were then acting as servers for other sites running
  934. xwebster and gnuemacs-webster, it asked that server sites close off external
  935. access.
  936.     [The NeXT machine apparently is also licensed to have the dictionary.
  937.     A Webster daemon for NeXT machines is available from
  938. iuvax.cs.indiana.edu (129.79.254.192) in "pub/webster/NeXT-2.0".]
  939.     Unless you want to get a legal on-line copy yourself or can find a
  940. site which can grant you access, you are probably out of luck.
  941.  
  942.     However, if you are a legitimate site, you'll want to pick up the
  943. latest xwebster, as-is on ftp.x.org:contrib/xwebster.tar.Z [10/91]; the file
  944. xwebster.README includes discussions of the availability, illegality, and
  945. non-availability of dictionary servers.
  946.  
  947. [courtesy steve@UMIACS.UMD.EDU (Steve Miller) and mayer@hplabs.hp.com (Niels
  948. Mayer) 11/90]
  949.  
  950. ----------------------------------------------------------------------
  951.  
  952. David B. Lewis                     faq%craft@uunet.uu.net
  953.  
  954.         "Just the FAQs, ma'am." -- Joe Friday 
  955.  
  956.  
  957. -- 
  958. David B. Lewis            Temporarily at but not speaking for ICS
  959. day: dbl@ics.com        evening: dbl%craft@uunet.uu.net
  960.  
  961.